package cn.dakaqi.festival.services;

import cn.dakaqi.entities.Festival;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

/**
 * Created by chunyang on 2016/4/22.
 */
public interface FestivalDao extends PagingAndSortingRepository<Festival, Long>, JpaSpecificationExecutor<Festival>
{
    Festival findByCode(String code);
}
